//接口地址
var url="http://47.105.48.86:8081/ad-proxy";

//	获取地址栏参数
function GetQueryString(name){
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if(r!=null)return  decodeURI(r[2]); return null;
}

//	错误提示
function isErr(res) {
	layer.msg(res.msg);
	if(res.code == "0020"){
		location.href="login.html";
	}
}

